<template>
  <div class="common-layout">
    <el-container>
      <el-aside style="background-color: blue">
        <Sidebar/>
      </el-aside>
      <el-container style="background-color: blueviolet">
        <el-header>
          <Navbar/>
        </el-header>
        <el-main style="background-color: aqua">
          <AppMain/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts">
import Sidebar from '@/layout/components/Sidebar/index.vue'
import Navbar from '@/layout/components/Header/index.vue'
import AppMain from '@/layout/components/Main/index.vue'
</script>

<style scoped lang="less">
.el-container {
  height: 100vh;
  width: 100vw;
}

.el-main {
  padding: 0;
}

.el-aside {
  width: 250px;
  padding: 0;
}

.el-header {
  padding: 0;
}
</style>
